package org.lisen.patterndemo.factory.abstractfactory;

public abstract class PcFactory {

    public abstract Mouse makeMouse();

    public abstract Keyboard makeKeyboard();

    private static HpFactory hpFactory = new HpFactory();

    private static LogicFactory logicFactory = new LogicFactory();


    public static PcFactory getHpFactory() {
        return hpFactory;
    }

    public static LogicFactory getLogicFactory() {
        return logicFactory;
    }

}
